from Page import Page
from selenium.webdriver.common.by import By
class Page2(Page):
    search_loc=(By.NAME,'wd')
    def search(self):
        self.send_keys(self.search_loc,'鹿晗')

    baidu_loc=(By.ID,'su')
    def baidu(self):
        self.click(self.baidu_loc)